﻿// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global

/* EmfToWmfBitsFlags.cs -- options for the unmanaged call to the Metafile.WmfToWmfBits
   Ars Magna project, http://arsmagna.ru */

#region Using directives

using System;

#endregion

namespace AM.Win32;

/// <summary>
/// Specifies the flags/options for the unmanaged call
/// to the GDI+ method Metafile.EmfToWmfBits().
/// </summary>
[Flags]
public enum EmfToWmfBitsFlags
{
    /// <summary>
    /// Use the default conversion.
    /// </summary>
    Default = 0x00000000,

    /// <summary>
    /// Embedded the source of the EMF metafiel within the resulting
    /// WMF metafile.
    /// </summary>
    EmbedEmf = 0x00000001,

    /// <summary>
    /// Place a 22-byte header in the resulting WMF file.
    /// The header is required for the metafile to be considered
    /// placeable.
    /// </summary>
    IncludePlaceable = 0x00000002,

    /// <summary>
    /// Don't simulate clipping by using the XOR operator.
    /// </summary>
    NoXORClip = 0x00000004
}
